scoop:scoop.core:0.1.0
src/context.scoop
Selected production source · src/context.scoop
2 * Returns the current task's binding for the exact type T, or None when it is absent. 3 * The lookup does not allocate, throw, or search for compatible subtypes. 5@Intrinsic("context_or_none") 6public fun <T: ref> contextOrNone(): Option<T>