How do YOU specify "simple" arguments in CFML?

Yeah, I think some variation of this is what has to end up happening. And, when you turn around and make those inner-calls, you need to cast the value to the right type:

myPrivateNumericFunction( + value );
myPrivateDateTimeFunction( dateAdd( "d", 0, value ) );
myPrivateBooleanFunction( !! value );

Historically, type-checking in ColdFusion is about possible casting and not the actual runtime type. Which never really mattered prior to “member methods”. I started a long thread about this a year ago - tangentially related to this topic:

1 Like