.FastAIissubblock

function defined in module FastAI


			function issubblock(subblock, superblock)

Predicate whether subblock is a subblock of superblock. This means that subblock is

  • a subtype of a type superblock <: Type{AbstractBlock}

  • an instance of a subtype of superblock <: Type{AbstractBlock}

  • equal to superblock

Both arguments can also be tuples. In that case, each element of the tuple subblock is compared recursively against the elements of the tuple superblock.