method is-implementation-detail
Documentation for method is-implementation-detail
assembled from the following types:
language documentation Traits
From Traits
(Traits) method is-implementation-detail
method is-implementation-detail(--> True)
Applying this trait makes the is-implementation-detail
method called on Code to return True
, thus giving a hint to the user not to use it if they are not willing to maintain this code in case of changes for years to come:
my = ;unless .is-implementation-detailsub PRIVATE-CALCULATION is implementation-detailif .is-implementation-detail
class Code
From Code
(Code) method is-implementation-detail
method is-implementation-detail(--> False)
Note: this method has been available in Rakudo compiler starting from 2020.05 release.
Returns True
if the code object was marked with is implementation-detail
trait, False
otherwise.