hasAsync

@JvmName(name = "has")
fun <T> hasAsync(formSchema: Schema<T>, formValue: T, path: Path, coroutineScope: CoroutineScope = GlobalScope): CompletableFuture<Boolean>
@JvmName(name = "has")
fun <T> hasAsync(formSchema: Schema<T>, formValue: T, path: String, coroutineScope: CoroutineScope = GlobalScope): CompletableFuture<Boolean>

Returns a future that completes with whether there exists a part of the form value formValue (with schema formSchema) matching path.

The future will complete exceptionally with InvalidPathException if path matches no schemas.