Is it possible to do something like $test = [string]::IsNullOrWhiteSpace and then check whether a $var is Null/Empty/WhiteSpace with $test? I'm not just asking specific to that static method, but in general I've seen folks assign an object to a variable and then take action on the object without typing its full name and I'm wondering if a similar syntax is possible with a string method or any method.