How to determine if an object is a certain type in F# -


in c# use keyword 'is'

if (variable string) { } 

how done in f#

try

if (variable :? string) ... 

or

let x = variable :? string 

Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -