forObject

fun forObject(alias: String, object: Any?): Alias

Builds an Alias fact naming object (wrapped into an ObjectRef) as alias.