supports

fun supports(config: String): Boolean(source)

Determines if the current factory instance can support the provided configuration string.

The method checks if the factory's name matches the first element of the parsed configuration string.

Return

true if the factory supports the configuration, otherwise false.

Parameters

config

The configuration string to be evaluated.